package com.guo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "staff")
public class Staff implements Serializable {
    Integer id;
    String name;
    String sex;
    String address;
    @Column(name = "departmentId")
    Integer departmentId;
    @Column(name = "salaryId")
    Integer salaryId;
    @Column(name = "salaryRank")
    Integer salaryRank;
}
